//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Community complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="Community">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Subdivision" type="{http://rets.org/xsd/RETSCommons}Subdivision" minOccurs="0"/>
 *         &lt;element name="Schools" type="{http://rets.org/xsd/RETSCommons}Schools" minOccurs="0"/>
 *         &lt;element name="CommunityName" type="{http://rets.org/xsd/RETSCommons}SecureString" minOccurs="0"/>
 *         &lt;element name="SeniorCommunity" type="{http://rets.org/xsd/RETSCommons}SeniorCommunity" minOccurs="0"/>
 *         &lt;element name="ExistingStructures" type="{http://rets.org/xsd/RETSCommons}ExistingStructures" minOccurs="0"/>
 *         &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Community", propOrder = {
    "subdivision",
    "schools",
    "communityName",
    "seniorCommunity",
    "existingStructures",
    "any"
})
public class Community {

    @XmlElement(name = "Subdivision")
    protected Subdivision subdivision;
    @XmlElement(name = "Schools")
    protected Schools schools;
    @XmlElement(name = "CommunityName")
    protected SecureString communityName;
    @XmlElement(name = "SeniorCommunity")
    protected SeniorCommunity seniorCommunity;
    @XmlElement(name = "ExistingStructures")
    protected ExistingStructures existingStructures;
    @XmlAnyElement(lax = true)
    protected List<Object> any;

    /**
     * 获取subdivision属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Subdivision }
     *     
     */
    public Subdivision getSubdivision() {
        return subdivision;
    }

    /**
     * 设置subdivision属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Subdivision }
     *     
     */
    public void setSubdivision(Subdivision value) {
        this.subdivision = value;
    }

    /**
     * 获取schools属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Schools }
     *     
     */
    public Schools getSchools() {
        return schools;
    }

    /**
     * 设置schools属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Schools }
     *     
     */
    public void setSchools(Schools value) {
        this.schools = value;
    }

    /**
     * 获取communityName属性的值。
     * 
     * @return
     *     possible object is
     *     {@link SecureString }
     *     
     */
    public SecureString getCommunityName() {
        return communityName;
    }

    /**
     * 设置communityName属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link SecureString }
     *     
     */
    public void setCommunityName(SecureString value) {
        this.communityName = value;
    }

    /**
     * 获取seniorCommunity属性的值。
     * 
     * @return
     *     possible object is
     *     {@link SeniorCommunity }
     *     
     */
    public SeniorCommunity getSeniorCommunity() {
        return seniorCommunity;
    }

    /**
     * 设置seniorCommunity属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link SeniorCommunity }
     *     
     */
    public void setSeniorCommunity(SeniorCommunity value) {
        this.seniorCommunity = value;
    }

    /**
     * 获取existingStructures属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ExistingStructures }
     *     
     */
    public ExistingStructures getExistingStructures() {
        return existingStructures;
    }

    /**
     * 设置existingStructures属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ExistingStructures }
     *     
     */
    public void setExistingStructures(ExistingStructures value) {
        this.existingStructures = value;
    }

    /**
     * Gets the value of the any property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the any property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAny().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getAny() {
        if (any == null) {
            any = new ArrayList<Object>();
        }
        return this.any;
    }

}
